package com.moonlit.myspring;

public class ProjectJuggler extends Juggler {

    private Poem poem;
    public  ProjectJuggler(Poem poem){
        super();
        this.poem=poem;
    }

    public ProjectJuggler(int beanBags,Poem poem){
        super(beanBags);
        System.out.println("while reciting");
      poem.recite();
    }


    public void perform() throws Exception{

    }
}
